[HVMLOADER] Only install hvmloader if it is built.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 8 Aug 2006 08:51:08 +0000 (09:51 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 8 Aug 2006 08:51:08 +0000 (09:51 +0100)
This reverts a broken change in changeset 10948 that broke
the ia64 build.
Signed-off-by: Al Stone <ahs3@fc.hp.com>
tools/firmware/Makefile

index 85902319e856bbb3f37f1408d5fb26ce06af1cfc..63ccb7b17ec0f7bd52b46d42a3a180510a9c728b 100644 (file)
@@ -30,7 +30,7 @@ all:
 .PHONY: install
 install: all
        [ -d $(INSTALL_DIR) ] || install -d -m0755 $(INSTALL_DIR)
-       install -m0644 $(TARGET) $(INSTALL_DIR)
+       [ ! -e $(TARGET) ] || install -m0644 $(TARGET) $(INSTALL_DIR)
 
 .PHONY: clean
 clean: